<include file="Public/head"/>
<body class="no-skin">
<include file="Public/header"/>
<div class="main-container" id="main-container">
    <script type="text/javascript">
        try {
            ace.settings.check('main-container', 'fixed')
        } catch (e) {
        }
    </script>

    <include file="Public/sidebar"/>
    <div class="main-content">
        <div class="main-content-inner">
            <!-- #section:basics/content.breadcrumbs -->
            <include file="Public/breadcrumbs"/>

            <!-- /section:basics/content.breadcrumbs -->
            <div class="page-content">
                <include file="Public/set"/>

                <!-- /section:settings.box -->
                <div class="row">
                    <div class="col-xs-12">
                        <!-- PAGE CONTENT BEGINS -->
                        <div class="cf">
                            <form class="form-inline" >
                          
                                <button class="btn btn-info btn-sm">
                                    <label class="inline">用户名字</label>
                                </button>
                                <input type="text" id="username" name="username" value="{:I('username')}" class="form-control">

                                <button type="button" onclick="sou()" class="btn btn-purple btn-sm">
                                    <span class="ace-icon fa fa-search icon-on-right bigger-110"></span>
                                    搜索
                                </button>
                            </form>
                        </div>
                        <div class="space-4"></div>
                        <form id="form" method="post" action="">
                            <table class="table table-striped table-bordered">
                                <thead>
                                <tr>
                                    <th class="center"><input class="check-all" type="checkbox" value=""></th>
                                    <th>头像</th>
                                    <th>手机号</th>
                                    <th>姓名</th>
                                    <th>身份证号码</th>
                                    <!-- <th>报名时间</th> -->
                                    <!-- <th>考试进度</th> -->
                                    <!-- <th>操作</th> -->
                                </tr>
                                </thead>
                                <tbody>
                                <volist name="userInfo" id="val">
                                    <tr>
                                        <td class="center"><input class="uids" type="checkbox" name="uids[]"
                                                                  value="{$val['id']}"></td>
                                        <td><img src="{$val['pro']}" width="50px" alt="没头像"></td>
                                        <td>{$val['phone']}</td>
                                        <td>{$val['username']}</td>
                                        <td>{$val['id_card']}</td>
                                        <!-- <td>{$val['add_time']|date="Y-m-d",###}</td> -->
                                       <!--  <td>
                                            <switch name="val['schedule']">
                                                <case value="1">科目一</case>
                                                <case value="2">科目二</case>
                                                <case value="3">科目三</case>
                                                <case value="4">科目四</case>
                                            </switch>
                                        </td>
                                        <td>
                                            <a href="{:U('schedule',array('uid'=>$val['id']))}"><i class="ace-icon fa fa-pencil bigger-100"></i>驾考进度</a>&nbsp;&nbsp;
                                        </td> -->
                                    </tr>
                                </volist>
                                </tbody>
                            </table>
                        </form>
                        {$page}
                        <!-- PAGE CONTENT ENDS -->
                    </div><!-- /.col -->
                </div><!-- /.row -->
            </div><!-- /.page-content -->
        </div>
    </div><!-- /.main-content -->
    <include file="Public/footer"/>

</div><!-- /.main-container -->

<include file="Public/footerjs"/>
<script>
    function sou(){
        var username = $("#username").val();
        var param = '';
        if(username){
            param += '/username/'+username;
        }

        location.href="__APP__/Admin/User/index"+param+".html";
    }
</script>
</body>
</html>
